package com.ming.mallchat.common.user.service;

import com.ming.mallchat.common.user.domain.enums.RoleEnum;
import com.ming.mallchat.common.user.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 86150
* @description 针对表【role(角色表)】的数据库操作Service
* @createDate 2023-10-09 16:29:42
*/
public interface RoleService {

    /**
     * 是否拥有某个权限 临时写法
     * @param uid
     * @return boolean
     */
    boolean hasRole(Long uid);

}
